package com.home.school.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
public class UserOrderListVO extends PageVO {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 学生id
     */
    @TableField(value = "stu_id")
    private String stuId;

    /**
     * 上课时间
     */
    @TableField(value = "time")
    private Date time;

    /**
     * 老师id
     */
    @TableField(value = "tea_id")
    private String teaId;

    /**
     * 上课地点
     */
    @TableField(value = "address")
    private String address;

    /**
     * 科目id
     */
    @TableField(value = "subject_id")
    private Integer subjectId;

    /**
     * 订单状态
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;
}
